{"version":3,"sources":["dynamic_block_form.js"],"names":["BX","namespace","Landing","UI","Form","DynamicBlockForm","data","BaseForm","apply","this","arguments","type","forms","code","onSourceChangeHandler","onSourceChange","dynamicParams","settingFieldsSelectors","addField","createSourceField","prototype","constructor","__proto__","getSources","Main","getInstance","options","sources","getSourceById","id","find","source","String","getSourcesFieldItems","map","name","value","isPlainObject","wrapper","settings","isString","setTimeout","bind","Field","Dropdown","title","Loc","getMessage","selector","content","items","onValueChange","field","getValue","isReference","isArray","some","references","reference","serialize","fields","reduce","acc","includes","hasClass","layout","stubs","src","alt"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,sBAEbD,GAAGE,QAAQC,GAAGC,KAAKC,iBAAmB,SAASC,GAE9CN,GAAGE,QAAQC,GAAGC,KAAKG,SAASC,MAAMC,KAAMC,WACxCD,KAAKE,KAAOL,EAAKK,KACjBF,KAAKG,MAAQN,EAAKM,MAClBH,KAAKI,KAAOP,EAAKO,KACjBJ,KAAKK,sBAAwBR,EAAKS,eAClCN,KAAKO,cAAgBV,EAAKU,cAE1BP,KAAKQ,wBACJ,UAGDR,KAAKS,SAAST,KAAKU,sBAGpBnB,GAAGE,QAAQC,GAAGC,KAAKC,iBAAiBe,WACnCC,YAAarB,GAAGE,QAAQC,GAAGC,KAAKC,iBAChCiB,UAAWtB,GAAGE,QAAQC,GAAGC,KAAKG,SAASa,UAEvCG,WAAY,WAEX,OAAOvB,GAAGE,QAAQsB,KAAKC,cAAcC,QAAQC,SAG9CC,cAAe,SAASC,GAEvB,OAAOpB,KAAKc,aAAaO,KAAK,SAASC,GACtC,OAAOC,OAAOD,EAAOF,MAAQG,OAAOH,MAItCI,qBAAsB,WAErB,OAAOxB,KAAKc,aAAaW,IAAI,SAASH,GACrC,OAAQI,KAAMJ,EAAOI,KAAMC,MAAOL,EAAOF,OAI3CV,kBAAmB,WAElB,IAAIiB,EAAQ,GAEZ,GACCpC,GAAGW,KAAK0B,cAAc5B,KAAKO,gBACxBhB,GAAG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